using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.Transactions;
using HengTong.Model;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TiaoTaoHelper.Wtm.Workflow;
using Microsoft.Extensions.DependencyInjection;
using HengTong.Model.Db;
using HengTong.Model.Services;
using TiaoTaoHelper.Models;
using UUIDNext;
using HengTong.Model.Db.Hr.Attendance;


namespace HengTong.ViewModel.Hr.SysAttendanceShiftGroupVms
{
    public partial class SysAttendanceShiftGroupVm : CrudVm<SysAttendanceShiftGroup>
    {
        [Display(Name = "班次列表")]
        public List<string> SelectedShiftsIds { get; set; }
        
        /// <summary>
        /// 班次ID到标签的映射
        /// Key: ShiftId, Value: Tag枚举值
        /// </summary>
        [Display(Name = "班次标签映射")]
        public Dictionary<string, SysAttendanceShiftTag> ShiftTagMapping { get; set; }
    }
}
